use std::rc::Rc;
use std::thread;
fn main() {
    let v = Rc::new(5);
    let t = thread::spawn(move || {
        println!("{}", v);
    });

    t.join().unwrap();
}
